cucDefine(['common'], function(common){
    let {loadStyle, commonInit, commonVar} = common;
    class ParagraphJH extends HTMLElement {
        constructor() {
            super();
            commonInit(this);
            let shadow = this.attachShadow({mode: 'open'});
            let p = document.createElement("p");
            p.className = "jh-p";
            p.innerText = this.innerHTML;
            loadStyle(shadow, commonVar.rootPath + "/assets/component/paragraph/paragraph.css");
            shadow.appendChild(p);
            // this.onMounted();
        }
    }
    return ParagraphJH;
});